package com.aotuman.ktcoroutineandroid.chapter.two

import kotlin.coroutines.Continuation
import kotlin.coroutines.CoroutineContext

class MyContinuationImpl : Continuation<String> {

    override fun resumeWith(result: Result<String>) {

        println("MyContinuationImpl 回调resumeWith 返回的结果 " + result.getOrNull())
    }

    override val context: CoroutineContext
        get() = kotlin.coroutines.EmptyCoroutineContext

}
